//
//  testClass.cpp
//  Athena
//
//  Created by Pang Jun on 4/2/13.
//  Copyright (c) 2013 Pang Jun. All rights reserved.
//

#include "testClass.h"
#include <iostream>


MyTest::MyTest()
:member1(0),
member2(1)
{}

MyTest::MyTest(const MyTest& ins)
{
    member1 = ins.member1;
    member2 = ins.member2;
}

MyTest::~MyTest()
{}

void MyTest::Fun1()
{
    TestDelegate *myTest = new TestDelegate(*this);
    myTest->testDelegate();
}

void MyTest::OnTestDelegate()
{
    std::cout<<"Recieve Call Back!"<<std::endl;
}